package com.haizhi.crm.sys.auth.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by yangyijun on 2018/5/29.
 */
@Data
public class InstitutionQo implements Serializable {

    protected static final long serialVersionUID = 1L;

    @NotNull(message = "机构ID不能为空" )
    private Long id;

    private String pbocPayOrg;

    @ApiModelProperty(value = "机构名称" )
    private String name;

    @ApiModelProperty(value = "机构简称" )
    private String shortName;

    @ApiModelProperty(value = "机构类别ID" )
    private String typeId;

    private String institutioncol;

    @ApiModelProperty(value = "机构级别" )
    private String levelId;

    @ApiModelProperty(value = "上级机构ID" )
    private String superiorId;

    @ApiModelProperty(value = "邮编" )
    private String zipCode;

    @ApiModelProperty(value = "省份代码" )
    private String provinceCode;

    @ApiModelProperty(value = "机构行政区划代码" )
    private String districtCode;

    @ApiModelProperty(value = "机构地址" )
    private String address;

    @ApiModelProperty(value = "联系电话" )
    private String phone;

    @ApiModelProperty(value = "机构状态:1可用；0不可用", required = true)
    @NotNull(message = "机构状态不能为空" )
    private String enabledFlag;

    @ApiModelProperty(value = "签证", required = true)
    @NotNull(message = "签证不能为空" )
    private String signature;
}
